package com.ruoyi.system.domain.award.party;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 党建获奖对象 party_award_info
 * 
 * @author ruoyi
 * @date 2025-08-07
 */
public class PartyAwardInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 荣誉编号 */
    @Excel(name = "荣誉编号")
    private String honorId;

    /** 荣誉名称 */
    @Excel(name = "荣誉名称")
    private String honorName;

    /** 签发时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "签发时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date issueTime;

    /** 签发单位 */
    @Excel(name = "签发单位")
    private String issuingUnit;

    /** 获奖团队 */
    @Excel(name = "获奖团队")
    private String awardTeam;
    //当前角色
    private String currentRole;
    /** 开始时间 */
    private Date beginTime;
    /** 结束时间 */
    private Date endTime;
    /** 附件 */
    @Excel(name = "附件")
    private String attachmentUrl;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;
    /** 部门名称 */
    private String deptName;
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setHonorId(String honorId) 
    {
        this.honorId = honorId;
    }

    public String getHonorId() 
    {
        return honorId;
    }

    public void setHonorName(String honorName) 
    {
        this.honorName = honorName;
    }

    public String getHonorName() 
    {
        return honorName;
    }

    public void setIssueTime(Date issueTime) 
    {
        this.issueTime = issueTime;
    }

    public Date getIssueTime() 
    {
        return issueTime;
    }

    public void setIssuingUnit(String issuingUnit) 
    {
        this.issuingUnit = issuingUnit;
    }

    public String getIssuingUnit() 
    {
        return issuingUnit;
    }

    public void setAwardTeam(String awardTeam) 
    {
        this.awardTeam = awardTeam;
    }

    public String getAwardTeam() 
    {
        return awardTeam;
    }

    public void setAttachmentUrl(String attachmentUrl) 
    {
        this.attachmentUrl = attachmentUrl;
    }

    public String getAttachmentUrl() 
    {
        return attachmentUrl;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("honorId", getHonorId())
            .append("honorName", getHonorName())
            .append("issueTime", getIssueTime())
            .append("issuingUnit", getIssuingUnit())
            .append("awardTeam", getAwardTeam())
            .append("attachmentUrl", getAttachmentUrl())
            .append("deptId", getDeptId())
            .toString();
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getCurrentRole() {
        return currentRole;
    }

    public void setCurrentRole(String currentRole) {
        this.currentRole = currentRole;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
}
